import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import http from './http.js'

// 引入字体图标
import './assets/iconfont/iconfont.css'
// 引入公共样式
import './assets/scss/style.scss'
// 引入轮播图
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
// 引入自定义组件
import ZCard from './components/card/ZCard.vue'
import HCard from './components/card/HCard.vue'
import listCard from './components/listCard/ListCard.vue'
Vue.component('z-card', ZCard)
Vue.component('h-card', HCard)
Vue.component('z-list-card', listCard)
// 轮播图
Vue.use(VueAwesomeSwiper /* { default global options } */)
Vue.config.productionTip = false

Vue.prototype.$http = http

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
